package com.en.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
    import lombok.experimental.Accessors;


/**
 * @TableName: user
 * @Description: 
 * @Author: wht
 * @Date: 2024-01-16
 */
@Data
    @Accessors(chain = true)
public class User implements Serializable{
                @TableId(value = "id", type = IdType.AUTO)
                private Integer id;
        private String mobile;
        private String truename;
        private String nickname;
        private String avatar;
        @ApiModelProperty("1：男  2：女")
        private Byte gender;
        private LocalDate birthday;
        private LocalDateTime create_datetime;
        private String buy_stage_ids;
        @ApiModelProperty("用户下一课是哪一课")
        private Integer next_class_id;
        private Integer study_word_count;
        @ApiModelProperty("只要用户复习或学习了，就+1。目的：同步多个设备之间的学习进度。")
        private Integer study_word_version;
        private Double discount;
        private LocalDateTime discount_start;
        private LocalDateTime discount_end;
        @ApiModelProperty("1：正常；-98：管理员删除；-99：已注销；")
        private Byte status;
@TableField(exist = false)
private static final long serialVersionUID=1L;

        }
